UPLOAD_TIME_MULTIPLE = 0.5
DOWNLOAD_CACHE_DIR = 'cache'
GET_ARTICLE_URL = "http://www.nvhuangchina.cn/api/err/distribute?type=2"
DRIVER_PATH = "./geckodriver.exe"

HORIZONTAL = {
    "URL_START_POINT": "https://baijiahao.baidu.com/builder/rc/edit?type=video",
    "SELECTOR_CSS_VIDEO": ".updataCoverBox input[type='file']",
    "SELECTOR_XPATH_SAVE": "//button[contains(@class, 'always-blue')]/..",
}

VERTICAL = {
    "URL_START_POINT": "https://baijiahao.baidu.com/builder/rc/edit?type=shortVideo",
    "SELECTOR_CSS_VIDEO": ".webuploader-container input[type='file']",
    "SELECTOR_XPATH_SAVE": "//button[contains(@class, 'always-blue')]/..",
}

FEEDBACK = {
    "ACCOUNT": {
        "BAN": "账号异常 停止发文",
        "OUT": "账号cookie过期 联系管理员恢复",
        "HORIZONTAL_ZERO": "账号横版当日发文数用完了,请定时到隔天",
        "VERTICAL_ZERO": "账号竖版当日发文数用完了,请定时到隔天",
    },
    "ARTICLE": {
        "ABNOR": "视频上传异常",
        "VAGUE": "视频模糊，建议删除",
        "STAY": "视频发布未跳转"
    }
}
exit_count = 5
